package org.hcf.api.config;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Data
@Slf4j
@Component
@ConfigurationProperties(prefix = "res.image")
public class ResConf {
    String dir;
    String url;

    @PostConstruct
    void init() {

    }
}
